Skip to content

drop redundant instance_ member#360

Merged
ahcorde merged 5 commits into
rollingfrom
ahcorde/rolling/redundant_instance
Jul 13, 2026
Merged

drop redundant instance_ member#360
ahcorde merged 5 commits into
rollingfrom
ahcorde/rolling/redundant_instance

Conversation

@ahcorde

@ahcorde ahcorde commented Jun 26, 2026

Copy link
Copy Markdown
Contributor
  • drop redundant instance_ member
  • fix string include placement

Claude Opus 4.7

ahcorde added 3 commits June 26, 2026 13:41
Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
@ahcorde ahcorde self-assigned this Jun 26, 2026
@mergify

mergify Bot commented Jun 26, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

instance_->passInNode(node_);
instances_[&*instance_] = nodelet_name.c_str();
instance->passInNode(node_);
instances_[&*instance] = nodelet_name.c_str();

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At a minimum I think you should do this:

Suggested change
instances_[&*instance] = nodelet_name.c_str();
instances_[instance.get()] = nodelet_name.c_str();

But really, we shoudl probably be using:

  QMap<std::shared_ptr<rqt_gui_cpp::Plugin>, QString> instances_;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
@ahcorde
ahcorde requested a review from asymingt July 10, 2026 13:43
Base automatically changed from ahcorde/rolling/hpp_to_cpp to rolling July 13, 2026 12:13
@ahcorde

ahcorde commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

Pulls: #360
Gist: https://gist.githubusercontent.com/ahcorde/f7e8aaa2985f2dd375908bdb5730b889/raw/285534e15eea47e436fe082e0c696ff41c5229b5/ros2.repos
BUILD args: --packages-above-and-dependencies rqt_gui_cpp
TEST args: --packages-above rqt_gui_cpp
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/19830

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@ahcorde
ahcorde merged commit 56b9889 into rolling Jul 13, 2026
2 checks passed
@ahcorde
ahcorde deleted the ahcorde/rolling/redundant_instance branch July 13, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants